module.exports = {
  "title": "赕",
  "description": "分享技术，分享生活",
  "dest": "public",
  /// "base":'./',
  locales: {
    '/': {
      lang: 'zh-CN'
    }
  },
  "head": [
    [
      "link",
      {
        "rel": "icon",
        "href": "/favicon.svg"
      }
    ],
    [
      "meta",
      {
        "name": "viewport",
        "content": "width=device-width,initial-scale=1,user-scalable=no"
      }
    ],
    [
      "meta",
      {
        "name": "keywords",
        "content": "dan blog"
      }
    ],
    ['script', {}, `
      var _hmt = _hmt || [];
      (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?976cf454b72e8f09ea6f747c2ee5525c";
        var s = document.getElementsByTagName("script")[0]; 
        s.parentNode.insertBefore(hm, s);
      })();
      `
    ]
  ],
  "theme": "reco",
  "themeConfig": {
    "nav": [
      {
        "text": "首页",
        "link": "/",
      },
      {
        "text": "归档",
        "link": "/timeline/",
      },
      {
        "text": "生活",
        "link": "/docs/life/",
      }
    ],
    "sidebar": {
      "/docs/life/": [
        '',
        {
          title: '游戏',
          collapsable: true,
          children: ['game/lol', 'game/wz']
        },
        {
          title: '旅游',
          collapsable: true,
          children: ['travel/hunan', 'travel/beijing']
        }
      ]
    },
    subSidebar: 'auto',//自动子侧边栏功能
    "type": "blog",
    "blogConfig": {
      "category": {
        "location": 2,//位置
        "text": "笔记"//显示
      },
      "tag": {
        "location": 3,
        "text": "标签"
      }
    },
    "logo": "/logo.png",
    "search": true,
    "searchMaxSuggestions": 5,
    "lastUpdated": "Last Updated",
    "author": "赕",
    "authorAvatar": "/sharer.png",
  },
  plugins: [
    //樱花插件
    ["sakura", {
      num: 20,  // 默认数量
      show: true, //  是否显示
      zIndex: 1,   // 层级
      img: {
        replace: false,  // false 默认图 true 换图 需要填写httpUrl地址
        httpUrl: '...'     // 绝对路径
      }
    }],
    // 评论插件
    ['@vuepress-reco/comments', {
      solution: 'valine',
      options: {
        appId: 'dnS7ooUcCsRk2GoFNFkcbmap-gzGzoHsz',// your appId
        appKey: 'QwKd8xEAM5KwQIiM3V1Ckelp', // your appKey
      }
    }]
  ],
  "markdown": {
    "lineNumbers": true
  }
}